package com.zhiyou.app.pojo.vo;

import cn.hutool.core.date.DateUtil;
import cn.hutool.system.UserInfo;
import com.zhiyou.app.pojo.enums.WithdrawalStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Accessors(chain = true)
@Data
@ApiModel(value = "提现记录列表")
public class WithdrawalListResponseVo {
    @ApiModelProperty(value = "任务ID")
    private Integer id;
    @ApiModelProperty(value = "微信支付编号")
    private Integer transactionId;
    @ApiModelProperty(value = "提现任务编号")
    private String outWithdrawalNum;
    @ApiModelProperty(value = "任务描述")
    private WithdrawalStatusEnum status;
    @ApiModelProperty(value = "用户信息")
    private UserInfoVo userInfo;
    @ApiModelProperty(value = "金额")
    private Integer amount;
    @ApiModelProperty(value = "创建时间")
    private Date createTime = DateUtil.offsetDay(new Date(), -7);
    @ApiModelProperty(value = "更新时间")
    private Date updateTime = new Date();
    @ApiModelProperty(value = "内容说明")
    private Date content;
}
